package com.bluefish.bltuan.module.user;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToOne;

import com.bluefish.bltuan.module.Category;

@Entity
public class Businesser extends AbstractUser {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2047346750564922526L;
	
	@Column(name = "called")
	private String call; //称呼
	
	private String phone;
	
	private String contact; //联系方式
	
	private String name; //商家名称
	
	private String content; //团购内容
	
	@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
	private Category city; //团购城市
	
	@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
	private Category style; //团购类型
	
	
	public Category getCity() {
		return city;
	}


	public void setCity(Category city) {
		this.city = city;
	}


	public Category getStyle() {
		return style;
	}


	public void setStyle(Category style) {
		this.style = style;
	}


	public String getCall() {
		return call;
	}


	public void setCall(String call) {
		this.call = call;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	

}
